package com.simple.rpc.config;

import java.util.List;

/**
 * 服务配置
 *
 * @author mhh
 * @since 2020/9/18
 */
public class ServiceConfig implements Config {

    /**
     * 默认服务版本
     */
    public static final String DEFAULT_SERVICE_VERSION = "1.0";

    /**
     * 应用配置
     */
    private ApplicationConfig applicationConfig;

    /**
     * 方法级别配置
     */
    private List<MethodConfig> methodConfigList;

    /**
     * 服务全类名
     */
    private String serviceName;

    /**
     * 服务版本
     */
    private String version;

    public List<MethodConfig> getMethodConfigList() {
        return methodConfigList;
    }

    public void setMethodConfigList(List<MethodConfig> methodConfigList) {
        this.methodConfigList = methodConfigList;
    }

    public ApplicationConfig getApplicationConfig() {
        return applicationConfig;
    }

    public void setApplicationConfig(ApplicationConfig applicationConfig) {
        this.applicationConfig = applicationConfig;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
